package com.baiyue.service;

import com.baiyue.entity.Charging;
import com.baiyue.model.MoneyResult;
import com.baiyue.model.charging.ChargingDataRequest;
import com.baiyue.model.charging.ChargingDataResponse;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 *
 * @author 伍波
 * @date 2024-05-22
 */
public interface ChargingService {

    void insert(ChargingDataRequest request);

    List<ChargingDataResponse> findByUuid(ChargingDataRequest request);

    void pauseByUuid(ChargingDataRequest request);

    void recovery(ChargingDataRequest request);

    void cancelOrder(ChargingDataRequest request);

    MoneyResult getMoney(ChargingDataRequest request);

    void updateChargingAndTableSet(ChargingDataRequest request);
}
